<template>
  <div class="hello">
    <h1>{{ msg }}</h1>
    <p>
      更多信息请访问
      <a href="https://cli.vuejs.org" target="_blank" rel="noopener">vue-cli 文档</a>.
    </p>
    <h3>常用插件</h3>
    <ul>
      <li><a href="https://router.vuejs.org" target="_blank" rel="noopener">vue-router</a></li>
      <li><a href="https://vuex.vuejs.org" target="_blank" rel="noopener">vuex</a></li>
      <li><a href="https://github.com/vuejs/vue-devtools#vue-devtools" target="_blank" rel="noopener">vue-devtools</a></li>
      <li><a href="https://vue-loader.vuejs.org" target="_blank" rel="noopener">vue-loader</a></li>
    </ul>
    <h3>生态系统</h3>
    <ul>
      <li><a href="https://vuejs.org" target="_blank" rel="noopener">Vue 官网</a></li>
      <li><a href="https://element.eleme.io" target="_blank" rel="noopener">Element UI</a></li>
      <li><a href="https://axios-http.com/" target="_blank" rel="noopener">Axios</a></li>
    </ul>
  </div>
</template>

<script>
export default {
  name: 'HelloWorld',
  props: {
    msg: String
  }
}
</script>

<style scoped lang="scss">
h3 {
  margin: 40px 0 0;
}
ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}
a {
  color: #42b983;
}
</style> 